import dayjs from "dayjs";

export function formatDate(date: Date | number | string | undefined) {
	return dayjs(date).format('YYYY-MM-DD HH:mm')
}